def query_data(connect=None, sql=None):
    if connect and sql:
        print("query data sucess!")
    else:
        raise ValueError("连接或查询语句为空")